package com.xuly.process.service;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

@Service
public class LeaveService implements JavaDelegate {
    @Override
    public void execute(DelegateExecution delegateExecution) {
        System.out.println("进入监听服务");
//        int i=1/0;

//        String applier = (String) delegateExecution.getVariable("applier");

//        System.out.println(applier);

    }
}
